package com.yuke.cloud.service.wmc.service;

import com.yuke.cloud.common.core.support.IService;
import com.yuke.cloud.service.api.wmc.dto.WarehouseInfoDto;
import com.yuke.cloud.service.wmc.dto.WmsWarehouseDto;
import com.yuke.cloud.service.wmc.entity.WmsWarehouse;

import java.util.List;
import java.util.Map;


/**
 * Created by zys on 2018/10/22.
 */
public interface WmsWarehouseService extends IService<WmsWarehouse> {

    void bookgoods(Long wareshouseid, Long productid, Integer number);

    @Override
    WmsWarehouse selectOne(WmsWarehouse record);

    List<Map> finditall1();
    List<Map> finditall12();

    void beathdelete(List<Long> ids);

    List<Map> findaddress(List<WmsWarehouse> wmsWarehouses);

    List<Map> warehouseifnull(List<Long> ids);

    List<Map> findByPostion(Double latitude, Double longitude, Long maxDistance);

    Map getaddressbyregionid(Long regionId);

    Map getwarehouseaddressbyshopid(String shopId);

    List<WmsWarehouse> finfbyids(String s);

    void updatestorage(WmsWarehouse list1);

    List<Map> findtransferspec(Long specId);

    void updateFactoryStorage(Long specId, Integer number);

    Map getWarehouseAddress(Long warehouseId);

    List<WarehouseInfoDto> getWarehouseInfo(List<Long> warehouseIds);

    List<WmsWarehouseDto> getWarehouseInfoList(WmsWarehouse wmsWarehouse);
}
